import request from '@/utils/request';

export default{
    //获取图片列表
    //POST /service_manage/picture/PicturePageQuery/{page}/{limit}
    //POST /service_manage/picture/PicturePageQuery/{page}/{limit}
    getPictList(token,page,limit){
        return request({
            // params:{token:token},
            url:(`/service_manage/picture/PicturePageQuery/${page}/${limit}?token=${token}`),
            method:'post',
        })
        
    },


    //删除图片
    //DELETE /service_manage/picture/deletePicture
    deletePict(token,pathName){
        return request({
            params:{token:token,pathName:pathName},
            url:(`/service_manage/picture/deletePicture`),
            method:'delete',
        })
    }

}